package ${package.Dao};

import ${package.Entity}.${entity}Es;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * <p>
 * ${table.comment!} => Elasticsearch 操作类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#assign keyType = "" />
<#list table.fields as field>
    <#if field.keyFlag><#assign keyType = field.propertyType /></#if>
</#list>
<#assign entityEs = entity + 'Es' />
public interface ${entity}EsDao extends ElasticsearchRepository<${entityEs}, ${keyType}> {}
